package io.renren.modules.sys.dao;

import io.renren.common.utils.PageUtils;
import io.renren.modules.sys.entity.DepotheadEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 单据主表
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-11-22 14:29:36
 */
public interface DepotheadDao extends BaseMapper<DepotheadEntity> {
    List getHeaderIdByMaterial(Map<String, Object> params);

    String findMaterialsListByHeaderId(Map<String, Object> params);

    List<DepotheadEntity> findBy(Map<String, Object> params);
	
	List findStatementAccount(Map<String, Object> params);

    List findInOutMaterialCount(Map<String, Object> params);

    List findInDetail(Map<String, Object> params);

    Double findAllMoney(HashMap<String,Object> map);
}
